package push;

import helper.ImageData;
import framework.filters.PushFilter;
import framework.pipes.AbstractPushPipe;

/**
 * Implements the push pipe for the image processing framework
 * 
 * @author Wetzel & Rusch
 * 
 */
public class PushPipe extends AbstractPushPipe<ImageData> {
	private final PushFilter<ImageData> m_pushFilter;

	public PushPipe(PushFilter<ImageData> pushFilter) {
		m_pushFilter = pushFilter;
	}

	@Override
	public void push(ImageData data) {
		m_pushFilter.push(data);
	}

}
